[INFO] cloning repository https://github.com/jgall/rust_shell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgall/rust_shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 78a21116d5a39faef58eb67029a8620af52d149e
[INFO] building jgall/rust_shell against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jgall/rust_shell on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jgall/rust_shell
[INFO] finished tweaking git repo https://github.com/jgall/rust_shell
[INFO] tweaked toml for git repo https://github.com/jgall/rust_shell written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/jgall/rust_shell already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simple-error v0.1.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1f98f0d894a072a983cf9a71cdf1f631c84bd2e57b189095c725f9bcc851247
[INFO] running `Command { std: "docker" "start" "-a" "f1f98f0d894a072a983cf9a71cdf1f631c84bd2e57b189095c725f9bcc851247", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1f98f0d894a072a983cf9a71cdf1f631c84bd2e57b189095c725f9bcc851247", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1f98f0d894a072a983cf9a71cdf1f631c84bd2e57b189095c725f9bcc851247", kill_on_drop: false }`
[INFO] [stdout] f1f98f0d894a072a983cf9a71cdf1f631c84bd2e57b189095c725f9bcc851247
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45de25501868eb17da3d6ed70d20e42a550ee64092e651321fccb56f9d6913f7
[INFO] running `Command { std: "docker" "start" "-a" "45de25501868eb17da3d6ed70d20e42a550ee64092e651321fccb56f9d6913f7", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling simple-error v0.1.12
[INFO] [stderr]    Compiling rust_shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  | use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:38:31
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let new_dir = args.into_iter().peekable().peek().map_or("/", |x| *x);
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  | use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  | use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:46:61
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  | use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn run() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn run() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^ this is of type `[type error]` but it should be `char` or numeric
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^ this is of type `[type error]` but it should be `char` or numeric
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0029, E0425, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0029`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_shell` due to 9 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "45de25501868eb17da3d6ed70d20e42a550ee64092e651321fccb56f9d6913f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45de25501868eb17da3d6ed70d20e42a550ee64092e651321fccb56f9d6913f7", kill_on_drop: false }`
[INFO] [stdout] 45de25501868eb17da3d6ed70d20e42a550ee64092e651321fccb56f9d6913f7
